package cn.opopopo.design_pattern_learn.结构型.bridge;

class AdvancedRemote extends RemoteControl {

    public AdvancedRemote(Device device) {
        super(device);
    }

    public void mute() {
        device.setVolume(0);
        System.out.println("遥控器: 已静音");
    }

    // 新功能：显示当前状态
    public void displayStatus() {
        System.out.println("设备状态：音量=" + device.getVolume() + ", 频道=" + device.getChannel());
    }
}